package com.authService.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import java.util.List;

/**
 * web资源配置
 * @author xmc
 */
@Configuration
public class WebMvcConfig implements WebMvcConfigurer {

    /**
     * 配置HttpMessageConverters，以便从请求体中读取和向响应体中写入。
     * @param converters initially an empty list of converters
     */
    @Override
    public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
//        converters.add(new MappingJackson2HttpMessageConverter(new JacksonObjectMapper()));
    }




}
